Skip to content

Add llms.txt - #2473

Merged
martinbonnin merged 1 commit into
graphql:sourcefrom
fireboy1919:add-llms-txt
Aug 24, 2026
Merged

Add llms.txt#2473
martinbonnin merged 1 commit into
graphql:sourcefrom
fireboy1919:add-llms-txt

Conversation

@fireboy1919

Copy link
Copy Markdown
Contributor

Description

Adds a statically generated /llms.txt endpoint for GraphQL.org.

  • Follows the llms.txt navigation format with canonical absolute URLs
  • Reuses the existing Learn page metadata so all Learn pages stay in sync
  • Includes curated specification, implementation, resource, governance, community, and optional links
  • Prerenders the route during the normal Next.js/Vercel build without a crawler or additional dependency
  • Adds tests for the response, Learn page coverage, and canonical routes

Testing

  • corepack pnpm exec node --import=tsx --test src/app/llms.txt/route.test.tsx
  • corepack pnpm exec eslint --ignore-path .gitignore src/app/llms.txt
  • corepack pnpm exec prettier --check src/app/llms.txt/route.ts src/app/llms.txt/render-llms-txt.ts src/app/llms.txt/route.test.tsx
  • corepack pnpm exec tsc --noEmit
  • corepack pnpm build (confirmed /llms.txt is prerendered as static content)

@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Jul 29, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: fireboy1919 / name: Rusty Phillips (3e4a85e)

@fireboy1919

Copy link
Copy Markdown
Contributor Author

This seemed like the most natural way to do this with the existing site design since someone is already organizing the learning section.

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
graphql-github-io Ready Ready Preview Aug 19, 2026 4:41pm

Request Review

@martinbonnin
martinbonnin merged commit 8297a3f into graphql:source Aug 24, 2026
4 of 5 checks passed
@martinbonnin

Copy link
Copy Markdown
Contributor

Thank you @fireboy1919 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants